package cn.org.eshow.bean.query;

import java.util.Date;

/**
 * 促销查询对象
 */
public class PromotionQuery extends BaseQuery {


    public Date startAddTime;//开始添加时间
    public Date endAddTime;//结束添加时间
    public Date startStartTime;//开始开始时间
    public Date endStartTime;//结束开始时间
    public Date startEndTime;//开始结束时间
    public Date endEndTime;//结束结束时间
    public String name;// 促销名称
    public Double minDiscount;// 最小折扣
    public Double maxDiscount;//最大折扣
    public Integer limitNumber;// 限购数量
    public Integer state;// 状态（0未开始，1进行中，-1已结束）
    public Boolean refund;// 是否支持退货
    public Boolean enabled;// 是否可用
    public Boolean ifLimit;// 是否限购

    public PromotionQuery() {
        super();
    }

    public PromotionQuery(Boolean enabled) {
        this.enabled = enabled;
    }

    public Date getStartAddTime() {
        return startAddTime;
    }

    public void setStartAddTime(Date startAddTime) {
        this.startAddTime = startAddTime;
    }

    public Date getEndAddTime() {
        return endAddTime;
    }

    public void setEndAddTime(Date endAddTime) {
        this.endAddTime = endAddTime;
    }

    public Date getStartStartTime() {
        return startStartTime;
    }

    public void setStartStartTime(Date startStartTime) {
        this.startStartTime = startStartTime;
    }

    public Date getEndStartTime() {
        return endStartTime;
    }

    public void setEndStartTime(Date endStartTime) {
        this.endStartTime = endStartTime;
    }

    public Date getStartEndTime() {
        return startEndTime;
    }

    public void setStartEndTime(Date startEndTime) {
        this.startEndTime = startEndTime;
    }

    public Date getEndEndTime() {
        return endEndTime;
    }

    public void setEndEndTime(Date endEndTime) {
        this.endEndTime = endEndTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getMinDiscount() {
        return minDiscount;
    }

    public void setMinDiscount(Double minDiscount) {
        this.minDiscount = minDiscount;
    }

    public Double getMaxDiscount() {
        return maxDiscount;
    }

    public void setMaxDiscount(Double maxDiscount) {
        this.maxDiscount = maxDiscount;
    }

    public Integer getLimitNumber() {
        return limitNumber;
    }

    public void setLimitNumber(Integer limitNumber) {
        this.limitNumber = limitNumber;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Boolean getRefund() {
        return refund;
    }

    public void setRefund(Boolean refund) {
        this.refund = refund;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public Boolean getIfLimit() {
        return ifLimit;
    }

    public void setIfLimit(Boolean ifLimit) {
        this.ifLimit = ifLimit;
    }

}